package jxl.utils;

import javax.net.ssl.X509TrustManager;
import java.security.cert.CertificateException;
import java.security.cert.X509Certificate;

/**
 * 描述:
 *
 * @Author: ZimH
 * @Mobile: 182-5958-1506
 * @CreateDate: 2019/9/25 14:58
 * @Version: 1.0
 */
public class MyX509TrustManager implements X509TrustManager {
    @Override
    public void checkClientTrusted(X509Certificate ax509certificate[], String s) throws CertificateException
    {
        //TODO nothing
    }

    @Override
    public void checkServerTrusted(X509Certificate ax509certificate[], String s) throws CertificateException
    {
        //TODO nothing
    }

    @Override
    public X509Certificate[] getAcceptedIssuers()
    {
        return new X509Certificate[]{};
    }
}
